<template>
  <div>
    <el-container>
      <el-header>Header</el-header>
      <el-container>
        <el-aside width="220px">
          <div class="菜单">
            <el-row class="tac">
              <el-col >
                <el-menu router
                         default-active="2"
                         class="el-menu-vertical-demo"
                         @open="handleOpen"
                         @close="handleClose">
                  <el-submenu index="1">
                    <template slot="title">
                      <i class="el-icon-location"></i>
                      <span>个人中心</span>
                    </template>
                    <el-menu-item index="/ks">我的信息</el-menu-item>
                    <el-menu-item index="/tz">直播通知</el-menu-item>
                    <el-menu-item index="/gz">我的关注</el-menu-item>
                    <el-menu-item index="/ls">观看历史</el-menu-item>
                  </el-submenu>
                </el-menu>
              </el-col>
            </el-row>
          </div>
          <div class="菜单">
            <el-row class="tac">
              <el-col >
                <el-menu router
                    default-active="2"
                    class="el-menu-vertical-demo"
                    @open="handleOpen"
                    @close="handleClose">
                  <el-submenu index="2">
                    <template slot="title">
                      <i class="el-icon-video-camera-solid"></i>
                      <span>我的直播间</span>
                    </template>
                    <el-menu-item index="/kb">开播设置</el-menu-item>
                    <el-menu-item index="/xx">直播间信息</el-menu-item>
                    <el-menu-item index="/pk">PK设置</el-menu-item>
                  </el-submenu>
                </el-menu>
              </el-col>
            </el-row>
          </div>
          <div class="菜单">
            <el-row class="tac">
              <el-col >
                <el-menu router
                    default-active="2"
                    class="el-menu-vertical-demo"
                    @open="handleOpen"
                    @close="handleClose">
                  <el-submenu index="1">
                    <template slot="title">
                      <i class="el-icon-video-camera-solid"></i>
                      <span>直播间信息</span>
                    </template>
                    <el-menu-item index="/zl">数据总览</el-menu-item>
                    <el-menu-item index="/tj">礼物统计</el-menu-item>
                    <el-menu-item index="/ph">消费排行</el-menu-item>
                  </el-submenu>
                </el-menu>
              </el-col>
            </el-row>
          </div>
        </el-aside>

        <el-main>
          <div class="标题">
            <h>我的关注</h>
          </div>
          <el-card class="我的关注">
            <div slot="header" class="clearfix">
              <span><span>
            <el-row >
          <div class="头像">
            <div class="demo-basic--circle">
              <div class="block" >
                <el-avatar :size="50" :src="circleUrl"></el-avatar>
              </div>
            </div>
          </div>
        </el-row>
            <div class="关注人">淹死了一条鱼</div>
      <el-button round class="取消关注" style="padding:5px;">取消关注</el-button>
          </span></span>
            </div>
            <div class="直播间">
              直播间
            </div>
            <div class="直播状态">
              未开始
            </div>
            <el-divider class="分割线" direction="vertical"></el-divider>
            <div class="直播回放">
              直播回放
            </div>
            <div class="点击回看">
              点击回看
            </div>
          </el-card>

        </el-main>
      </el-container>
    </el-container>
    <div>
    </div>
  </div>
</template>
<script>
export default {
  name: "我的关注",
  data() {
  return {
    activeName: '1',
    circleUrl: "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
    sizeList: ["large"]
  };
},
methods: {
  handleOpen(key, keyPath) {
    console.log(key, keyPath);
  },
  handleClose(key, keyPath) {
    console.log(key, keyPath);
  }
}
}
</script>

<style >
body{ background-color:#EEEEEE}

.我的关注 {
  position:relative;
  top:30px;
  left:-100px;
  width:30%;
  margin-right:3%;
  margin-left:3%;
  margin-bottom: 5%;
  height:200px;
  border-radius: 15px;
}

.菜单
{
  margin-left:3%;
}
.标题
{
  position:relative;
  font-size:x-large;
  top:-20px;
  float:left;
  margin-left:3%;
}
.text {
  font-size: 14px;
}

.item {
  margin-bottom: 18px;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both
}
.头像{
  position:relative;
  width:14%;
  height:auto;
  margin-left:2%;
  margin-top:2%;
  margin-bottom: 2%;
  float: left;
}
.关注人 {
  position: relative;
  top:-60px;
  left:60px;
  font-size:large;
  float:left;
  margin-left:8%;

}
.取消关注
{
  position: relative;
  font-size: xx-small;
  padding:2px;
  top:-20px;
  left:-40px;
}
.直播间
{
  position:relative;
  left:10px;
  font-size: xx-small;
  text-align: left;
}
.直播状态
{
  position:relative;
  left:10px;
  top:10px;
  font-size: xx-small;
  text-align: left;
  color:#888888;
  margin-bottom: 10px;
}
.分割线
{
  position:relative;
  top:-45px;
  height:45px;
}
.直播回放
{
  position:relative;
  top:-90px;
  left:-30px;
  font-size: xx-small;
  text-align:right;
}
.点击回看
{
  position:relative;
  top:-80px;
  left:-30px;
  font-size: xx-small;
  text-align: right;
  color:#888888;
  margin-bottom: 10px;
}
</style>
